package cn.qyd.common;

/**
 * @author 邱运铎
 * @date 2024-03-16 20:33
 */
public class Doctor extends Person {
    public String work;
    public Doctor(String name, int age,String work) {
        super(name, age);
        this.work = work;
    }

    public void helpOthers() {
        System.out.println("doctor is help others");
    }
}
